﻿using System;
using System.Collections.ObjectModel;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace DiscoveryLogic.UI.Common.Applications
{
    /// <summary>
    /// Represents a list of components. Components can only be added; they cannot
    /// be removed or replaced.
    /// </summary>
    public sealed class ComponentCollection : ObservableCollection<object>
    {

        /// <internalonly />
        protected override void ClearItems()
        {
            throw new NotSupportedException();
        }

        /// <internalonly />
        protected override void RemoveItem(int index)
        {
            throw new NotSupportedException();
        }

        /// <internalonly />
        protected override void SetItem(int index, object item)
        {
            throw new NotSupportedException();
        }
    }
}
